home *** CD-ROM | disk | FTP | other *** search
- Path: news.voicenet.com!news
- From: kobak@voicenet.com (Peter Kobak)
- Newsgroups: comp.lang.c++
- Subject: Re: [Q] User input w/o printing
- Date: 3 Jan 1996 20:34:46 GMT
- Organization: Voicenet - Internet Access - (215)674-9290
- Message-ID: <4cep96$hap@news.voicenet.com>
- NNTP-Posting-Host: philly206.voicenet.com
- X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
-
- In message <4ccdfu$qu4@epx.cis.umn.edu> - stur0028@gold.tc.umn.edu (Paul A Stur
- m) writes:
- :>
- :>Okay, quick question: How do I not have what is typed written to the screen?
- :>i.e., you're in an infinite loop, the user types in whatever, then each time
- :>at the end of the loop, I wanna deal with what was typed, but it's not to be
- :>displayed as they type it.
-
- Many C implementations have _getch() in conio.h. _getch() returns a
- character from the keyboard without echoing. If your compiler doesn't have
- this, you'll have to use the keyboard as a device or file somehow for your
- platform. On some platforms, it may be impossible.
-
- ================
- Peter Kobak
- kobak@voicenet.com
-
-
-